package com.ruoyi.support.enums;

import com.siashan.toolkit.core.enums.IBaseEnum;

/**
 * 冻结操作类型枚举
 *
 * @author siashan
 * @date 2024/2/22
 */
public enum FrozenOpsEnum implements IBaseEnum<String> {
    /**
     * 无动作
     */
    NONE("none", "无动作"),
    /**
     * 冻结
     */
    FREEZE("freeze", "冻结"),
    /**
     * 解冻
     */
    UNFREEZE("unfreeze", "解冻"),

    ;


    private String code;
    private String desp;

    FrozenOpsEnum(String code, String desp) {
        this.code = code;
        this.desp = desp;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDesp() {
        return this.desp;
    }
}
